package com.nongfuspring.nongfu.mapper;

import com.nongfuspring.nongfu.pojo.Huji;
import com.nongfuspring.nongfu.pojo.Transfer;
import com.nongfuspring.nongfu.pojo.UserHuji;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

/**
 * @author ：huad.xu
 * @date ：Created in 2022/4/4 21:19
 * @description：
 * @modified By：
 * @version: $
 */
@Mapper
public interface HujiMapper {
    Integer addHuji(Huji huji);

    ArrayList<Huji> queryHujiList(Huji huji);

    Integer addUserToHuji(Transfer transfer);

    Integer countHomeId(Integer homeId);

    ArrayList<UserHuji> queryhujidetail(Integer homeId);

    Integer removeUserOfHuji(String username, String usernumber);
}
